package com.mdb.open.trade.domain.po.product;

import com.baomidou.mybatisplus.annotation.*;
import com.mdb.bc.api.data.DataObjectBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
* 类描述：
*  客户产品App信息表实体类
*
* @author liuyi
* @date 2019-07-13
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cust_prod_config")
public class CustProdConfig extends DataObjectBase {

    private static final long serialVersionUID = 1L;
    /**
    * 主键ID
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
    * 客户编码
    */
    @TableField("customer_code")
    private String customerCode;

    /**
    * 产品CODE
    */
    @TableField("prod_code")
    private String prodCode;

    /**
    * appId
    */
    @TableField("app_id")
    private String appId;

    /**
    * appSecret
    */
    @TableField("app_secret")
    private String appSecret;

    /**
    * 用户公钥
    */
    @TableField("user_puk")
    private String userPuk;

    /**
    * 创建者No
    */
    @TableField(value = "create_user_id", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserId;

    /**
    * 创建者
    */
    @TableField(value = "create_user_name", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserName;

    /**
    * 操作人No
    */
    @TableField("opt_user_id")
    private String optUserId;

    /**
    * 操作人name
    */
    @TableField("opt_user_name")
    private String optUserName;

    /**
    * 创建时间
    */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
    * 修改时间
    */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
